﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Evaluar_RegistroLegajo.aspx.cs" Inherits="SOA_BandejaWF_Evaluar_RegistroLegajo" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

    <script type="text/javascript">
        if (window.dialogArguments) {
            window.opener = window.dialogArguments;
        }
    </script>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>

<div id="contenedor800">
    <table border = "0" cellpadding = "0" cellspacing = "0" style="width:100%">
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text=":: Registro del Legajo de la Sociedad"  SkinID="labelsubTituloSkin"></asp:Label>            
            </td>
        </tr>
        <tr>
            <td style="height:10px"><hr id="separador1" /></td>
        </tr>
    </table>

    <table border = "0" cellpadding = "0" cellspacing = "0" style="width:100%">
        <tr>
            <td>
              <table border = "0" cellpadding = "2" cellspacing = "0" style="width:800px">
               <tr>
                <td>

                <asp:Panel ID="Panel6" runat="server" SkinID="panelSkinInactive">
               
                <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
                    <tr><td  style="height:5px" colspan="7"></td>
                        <td style="height:5px">
                            &nbsp;</td>
                        <td style="height:5px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width:10px"></td>
                        <td style="width:60px">
                            <asp:Label ID="Label2" runat="server" Text="Código" SkinID="labelTextSkin"></asp:Label>
                        </td>
                        <td style="width:10px"></td>
                        <td style="width:100px">
                            <asp:Label ID="Label3" runat="server" Text="RUC" SkinID="labelTextSkin"></asp:Label>
                        </td>
                        <td style="width:10px"></td>
                        <td style="width:400px">
                            <asp:Label ID="Label4" runat="server" Text="Razón Social" 
                                SkinID="labelTextSkin"></asp:Label>
                        </td>
                        <td style="width:20px"></td>
                        <td style="width:100px">
                            <asp:Label ID="Label41" runat="server" SkinID="labelTextSkin" 
                                Text="Registro Nro."></asp:Label>
                        </td>
                        <td style="width:60px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width:10px"></td>
                        <td style="width:60px">
                            <asp:TextBox ID="txtCodSociedad" Width="50px" runat="server" 
                                SkinID="CajaTextoBloqueadoSkin" ReadOnly="True"></asp:TextBox>
                        </td>
                        <td style="width:10px"></td>
                        <td style="width:100px">
                            <asp:TextBox ID="txtRUCSociedad" Width="80px" runat="server" 
                                SkinID="CajaTextoBloqueadoSkin" ReadOnly="True"></asp:TextBox>
                        </td>
                        <td style="width:10px"></td>
                        <td style="width:400px">
                            <asp:TextBox ID="txtDescSociedad" Width="390px" runat="server" 
                                SkinID="CajaTextoBloqueadoSkin" ReadOnly="True" MaxLength="60"></asp:TextBox>
                        </td>
                        <td ></td>
                        <td>
                            <asp:TextBox ID="txtNroReg" runat="server" ReadOnly="True" 
                                SkinID="CajaTextoBloqueadoSkin" Width="50px"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr><td  style="height:5px" colspan="7"></td>
                        <td style="height:5px">
                            &nbsp;</td>
                        <td style="height:5px">
                            &nbsp;</td>
                    </tr>
                </table>   
                </asp:Panel>  
                </td>
               </tr>                           
              </table>
            </td>
        </tr>
        <tr>
            <td style="height:5px"></td>
        </tr>
        <tr>
            <td>
                
                <asp:TabContainer ID="tabSociedad" runat="server" ActiveTabIndex="0">
                    <asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabDatGeneral">
                        <HeaderTemplate>                         
                            <asp:Label ID="Label24" runat="server" Text="Datos Generales" SkinID="labelTituloTAB" ></asp:Label>
                         </HeaderTemplate>
                         <ContentTemplate>

                            <asp:Label ID="Label25" runat="server" Text="Domicilio Legal" SkinID="labelTituloPANEL"></asp:Label>
                            <asp:Panel ID="Panel1" runat="server" SkinID="panelSkinInactive" >
                            <table border = "0" cellpadding = "2" cellspacing = "2" style="width:100%"><tr><td style="height:5px" colspan="10"></td></tr><tr><td style="width:80px">
                            <asp:Label ID="Label5" runat="server" Text="Dirección" SkinID="labelTextSkin"></asp:Label></td><td  style="width:580px" colspan="8">
                                <asp:DropDownList ID="ddlTipoDireccion" runat="server" Width="100px" 
                                                SkinID="DropDownListTextBloqueadoSkin" Enabled="False"></asp:DropDownList>
                                     <asp:TextBox ID="txtDireccion" runat="server" Width="480px" 
                                                SkinID="CajaTextoBloqueadoSkin" MaxLength="120" Enabled="False"></asp:TextBox>
                            </td><td></td></tr><tr><td style="width:80px"><asp:Label ID="Label6" runat="server" Text="Departamento" 
                                                SkinID="labelTextSkin"></asp:Label></td><td style="width:120px" colspan="2">
                                <asp:DropDownList ID="ddlDepartamento" runat="server" Width="120px" 
                                                SkinID="DropDownListTextBloqueadoSkin" AutoPostBack="True" 
                                    onselectedindexchanged="ddlDepartamento_SelectedIndexChanged" Enabled="False"></asp:DropDownList>
                                 </td><td style="width:20px"></td><td style="width:60px"><asp:Label ID="Label7" runat="server" Text="Provincia" SkinID="labelTextSkin"></asp:Label></td><td  style="width:140px">
                            <asp:DropDownList ID="ddlProvincia" runat="server" Width="120px" 
                                                SkinID="DropDownListTextBloqueadoSkin" AutoPostBack="True" 
                                onselectedindexchanged="ddlProvincia_SelectedIndexChanged" Enabled="False"></asp:DropDownList></td><td  style="width:20px"></td><td  style="width:60px"><asp:Label ID="Label8" runat="server" Text="Distrito" SkinID="labelTextSkin"></asp:Label></td><td  style="width:140px">
                                <asp:DropDownList ID="ddlDistrito" runat="server" Width="120px" 
                                                SkinID="DropDownListTextBloqueadoSkin" Enabled="False"></asp:DropDownList></td><td></td></tr><tr><td style="height:5px" colspan="10"></td></tr></table>
                             </asp:Panel>
                             <asp:Panel ID="Panel3" runat="server" height="5px"></asp:Panel>
                                <asp:Label ID="Label26" runat="server" Text="Constitución de Empresa" 
                                 SkinID="labelTituloPANEL" Width="150px"></asp:Label>
                                <asp:Panel ID="Panel2" runat="server"  SkinID="panelSkinInactive">
                                   <table border = "0" cellpadding = "2" cellspacing = "2" style="width:100%">
                                      <tr><td style="height:5px" colspan="9"></td></tr><tr><td style="width:80px"><asp:Label ID="Label9" runat="server" Text="Departamento" 
                                                SkinID="labelTextSkin"></asp:Label></td><td style="width:120px" >
                                             <asp:DropDownList ID="ddlDepartamentoCons" runat="server" 
                                                SkinID="DropDownListTextBloqueadoSkin" Width="120px" 
                                    AutoPostBack="True" 
                                    onselectedindexchanged="ddlDepartamentoCons_SelectedIndexChanged" Enabled="False"></asp:DropDownList></td><td style="width:30px" ></td><td style="width:90px" ><asp:Label ID="Label10" runat="server" Text="Provincia" SkinID="labelTextSkin"></asp:Label></td><td style="width:120px" >
                            <asp:DropDownList ID="ddlProvinciaCons" runat="server" 
                                                SkinID="DropDownListTextBloqueadoSkin" Width="120px" 
                                AutoPostBack="True" Enabled="False"></asp:DropDownList></td><td style="width:30px" ></td><td style="width:80px" ><asp:Label ID="Label11" runat="server" Text="Capital Social" 
                                                SkinID="labelTextSkin"></asp:Label></td><td>
                                           <asp:TextBox ID="txtCapitalSocial" runat="server" 
                                               SkinID="CajaTextoBloqueadoSkin" Enabled="False"></asp:TextBox>
                                 </td><td></td></tr><tr><td><asp:Label ID="Label12" runat="server" Text="Nro. de Ficha" 
                                                SkinID="labelTextSkin"></asp:Label></td><td>
                                     <asp:TextBox ID="txtNroFicha" runat="server" SkinID="CajaTextoBloqueadoSkin" 
                                                Width="100px" MaxLength="15" Enabled="False"></asp:TextBox>
                                 </td><td></td><td><asp:Label ID="Label13" runat="server" Text="Fecha Inscripción" 
                                                SkinID="labelTextSkin"></asp:Label></td><td><asp:TextBox ID="txtFecIns" 
                                               runat="server" TargetControlID="txtFecIns" 
                                                SkinID="CajaTextoBloqueadoSkin" Width="70px" ReadOnly="True" 
                                               Enabled="False"></asp:TextBox>
                                                <asp:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" 
                                                PopupButtonID="imbFecIns" TargetControlID="txtFecIns"></asp:CalendarExtender>
                                             <asp:MaskedEditExtender ID="MaskedEditExtender1" runat="server" 
                                         TargetControlID="txtFecIns" Mask="99/99/9999" MaskType="Date" 
                                         CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                         CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                         CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" >
                                             </asp:MaskedEditExtender>
                                 </td><td></td><td><asp:Label ID="Label14" runat="server" Text="Fecha Inicio Op." 
                                                SkinID="labelTextSkin"></asp:Label></td><td><asp:TextBox ID="txtFecIniOpe" 
                                               runat="server" SkinID="CajaTextoBloqueadoSkin" 
                                                Width="70px" ReadOnly="True" Enabled="False"></asp:TextBox>
                                             <asp:CalendarExtender ID="CalendarExtender2" runat="server" Enabled="True" 
                                                PopupButtonID="imbFecIniOpe" TargetControlID="txtFecIniOpe"></asp:CalendarExtender>
                                             <asp:MaskedEditExtender ID="MaskedEditExtender2" runat="server" 
                                         TargetControlID="txtFecIniOpe" Mask="99/99/9999" MaskType="Date" 
                                         CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                         CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                         CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True">
                                             </asp:MaskedEditExtender>
                                 </td><td></td></tr><tr><td style="height:5px" colspan="9"></td></tr></table></asp:Panel>
                             <asp:Panel ID="Panel5" runat="server" height="5px"></asp:Panel>
                             <asp:Label ID="Label27" runat="server" Text="Otros Datos" 
                                SkinID="labelTituloPANEL" Width="150px"></asp:Label><asp:Panel ID="Panel4" runat="server"  SkinID="panelSkinInactive"><table border = "0" cellpadding = "2" cellspacing = "2" style="width:100%"><tr><td style="height:5px" colspan="9"></td></tr><tr><td style="width:80px"><asp:Label ID="Label15" runat="server" Text="Email" SkinID="labelTextSkin"></asp:Label></td><td  style="width:200px">
                                 <asp:TextBox ID="txtEmail" runat="server" SkinID="CajaTextoBloqueadoSkin" Width="200px" 
                                     MaxLength="60" Enabled="False"></asp:TextBox>
                                 </td><td  style="width:20px"></td><td  style="width:80px"><asp:Label ID="Label16" runat="server" Text="Página Web" SkinID="labelTextSkin"></asp:Label></td><td colspan="4">
                                 <asp:TextBox ID="txtPaginaWeb" runat="server" SkinID="CajaTextoBloqueadoSkin" 
                                                Width="300px" MaxLength="100" Enabled="False"></asp:TextBox>
                                 </td><td></td></tr><tr><td><asp:Label ID="Label17" runat="server" Text="Teléfonos" SkinID="labelTextSkin"></asp:Label></td><td>
                                 <asp:TextBox ID="txtTelefono" runat="server" SkinID="CajaTextoBloqueadoSkin" 
                                                Width="180px" MaxLength="50" Enabled="False"></asp:TextBox>
                                 </td><td></td><td><asp:Label ID="Label18" runat="server" Text="Fax" SkinID="labelTextSkin"></asp:Label></td><td>
                                 <asp:TextBox ID="txtFax" runat="server" SkinID="CajaTextoBloqueadoSkin" 
                                     MaxLength="20" Enabled="False"></asp:TextBox></td><td  style="width:20px"></td><td><asp:Label ID="Label19" runat="server" Text="Autovalúo" SkinID="labelTextSkin" 
                                                Width="50px"></asp:Label></td><td><asp:TextBox ID="txtAutovaluo" 
                                         runat="server" SkinID="CajaTextoBloqueadoSkin" Enabled="False"></asp:TextBox>
                                 </td><td></td></tr><tr><td style="height:5px" colspan="9"></td></tr></table>
                            </asp:Panel>

                      </ContentTemplate>
                     </asp:TabPanel>
                    <!-- TAB 2 -->
                    <asp:TabPanel ID="TabRepLegal" runat="server" HeaderText="TabPanel2">
                        <HeaderTemplate><asp:Label ID="Label20" runat="server" Text="Representante Legal" SkinID="labelTituloTAB" ></asp:Label>
                        </HeaderTemplate>
                        <ContentTemplate>
                            <asp:Label ID="Label28" runat="server" Text="Listado de Representantes" SkinID="labelTituloPANEL"></asp:Label>
                            <asp:Panel ID="Panel7" runat="server" SkinID="panelSkin" >
                                <asp:GridView ID="grvListaRepLegal" runat="server" 
                                            Width="100%" AutoGenerateColumns="False" 
                                            AllowPaging="True" AllowSorting="True" 
                                            SkinID="gridviewSkin" BorderColor="Gray" BorderStyle="Solid" 
                                            BorderWidth="1px" CellPadding="4" ForeColor="#333333" 
                                    GridLines="None" ShowHeaderWhenEmpty="True" CellSpacing="1"> 
                                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                            <Columns>
                                                <asp:BoundField DataField="crep_Codigo" HeaderText="Código">
                                                <ItemStyle Width="3%" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="cprm_TipRepres" HeaderText="Tipo Rep.">
                                                <ItemStyle Width="8%" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="cprm_TipDocum" HeaderText="Tipo Doc.">
                                                <ItemStyle Width="8%" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="crep_NumDocum" HeaderText="Nro.Doc.">
                                                <ItemStyle Width="8%" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="crep_ApePaterno" HeaderText="Apellido Pat.">
                                                <ItemStyle Width="15%" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="crep_ApeMaterno" HeaderText="Apellido Mat.">
                                                <ItemStyle Width="15%" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="crep_Nombres" HeaderText="Nombres">
                                                <HeaderStyle Width="20%" />
                                                </asp:BoundField>
                                            </Columns>

                                            <EditRowStyle BackColor="#999999" />
                                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" 
                                                Height="30px" />
                                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                            <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                            <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                            <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                                </asp:GridView>
                                </asp:Panel>
                                <asp:Panel ID="Panel8" runat="server" height="5px"></asp:Panel>

                                <!-- Panel Datos Representante -->
                                <asp:Label ID="Label29" runat="server" Text="Datos Representante" 
                                SkinID="labelTituloPANEL" Width="150px"></asp:Label>
                                <asp:Panel ID="Panel9" runat="server"  SkinID="panelSkinInactive">
                                    <table border = "0" cellpadding = "2" cellspacing = "2" style="width:100%">
                                        <tr>
                                            <td style="width:5px"></td>
                                            <td style="width:100px">
                                                <asp:Label ID="Label30" runat="server" Text="Tipo Representante" 
                                                    SkinID="labelTextSkin" Width="120px"></asp:Label>
                                            </td>
                                            <td style="width:410px">
                                                <asp:RadioButtonList ID="rblTipRepresen" runat="server" 
                                                    RepeatDirection="Horizontal" SkinID="RadioButtonTextSkin"  Width="400px" 
                                                    Height="30px">
                                                    <asp:ListItem Selected="True">Representante Legal</asp:ListItem>
                                                    <asp:ListItem>Socio</asp:ListItem>
                                                    <asp:ListItem>Representante Legal y Socio</asp:ListItem>
                                                </asp:RadioButtonList>
                                            </td>
                                            <td></td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="Panel10" runat="server" height="5px"></asp:Panel>
                                    <asp:Panel ID="Panel11" runat="server"  SkinID="panelSkinInactive">
                                    <table border = "0" cellpadding = "2" cellspacing = "2" style="width:100%">
                                        <tr>
                                            <td style = "width:5px">                                                
                                            </td>
                                            <td style = "width:80px">
                                                <asp:Label ID="Label31" runat="server" Text="Tipo Documento" SkinID="labelTextSkin"></asp:Label>                        
                                            </td>
                                            <td style = "width:100px">
                                                <asp:DropDownList ID="ddlTipDoc" runat="server" SkinID="DropDownListTextSkin" 
                                                    Width="60px"  
                                                    AutoPostBack="True"></asp:DropDownList>                                            
                                            </td>
                                            <td style = "width:20px">                                                
                                            </td>
                                            <td style = "width:80px">                 
                                                <asp:Label ID="Label32" runat="server" Text="Nro. Documento" SkinID="labelTextSkin"></asp:Label>
                                            </td>
                                            <td >
                                                <asp:TextBox ID="txtNroDoc" runat="server" SkinID="CajaTextoSkin" Width="90px" 
                                                    MaxLength="15"></asp:TextBox>                                                
                                                &nbsp;<asp:ImageButton ID="imbBuscarDNI" runat="server" 
                                                    ImageUrl="~/imagenes/btn_searchweb.png"  
                                                    ToolTip="Obtener datos de RENIEC" />
                                            </td>
                                            <td style = "width:20px">                                                
                                            </td>
                                            <td style = "width:60px">
                                                <asp:Label ID="Label33" runat="server" Text="Nro. RUC" SkinID="labelTextSkin"></asp:Label>                                            
                                            </td>
                                            <td style = "width:100px">
                                                <asp:TextBox ID="txtRUCRepLegal" runat="server" SkinID="CajaTextoSkin" 
                                                    Width="90px" MaxLength="12"></asp:TextBox>                                                 
                                            </td>
                                            <td>                                                
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style = "width:5px">                                                
                                            </td>
                                            <td>
                                                <asp:Label ID="Label34" runat="server" Text="Ap. Paterno" SkinID="labelTextSkin"></asp:Label>                        
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtApePat" runat="server" SkinID="CajaTextoSkin" 
                                                    MaxLength="15"></asp:TextBox>                                             
                                            </td>
                                            <td style = "width:20px">                                                
                                            </td>
                                            <td>                 
                                                <asp:Label ID="Label35" runat="server" Text="Ap. Materno" SkinID="labelTextSkin"></asp:Label>
                                            </td>
                                            <td class="style1">
                                                <asp:TextBox ID="txtApeMat" runat="server" SkinID="CajaTextoSkin" 
                                                    MaxLength="15"></asp:TextBox>                                                
                                            </td>
                                            <td style = "width:20px">                                                
                                            </td>
                                            <td>
                                                <asp:Label ID="Label36" runat="server" Text="Nombres" SkinID="labelTextSkin"></asp:Label>                                            
                                            </td>
                                            <td>
                                                <asp:TextBox ID="txtNombres" runat="server" SkinID="CajaTextoSkin" 
                                                    Width="120px" MaxLength="25"></asp:TextBox>                                                 
                                            </td>
                                            <td>                                                
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>

                        </ContentTemplate>
                    </asp:TabPanel>
                    <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="TabPanel3"><HeaderTemplate><asp:Label ID="Label21" runat="server" Text="Experiencia" SkinID="labelTituloTAB" ></asp:Label></HeaderTemplate></asp:TabPanel>
                    <asp:TabPanel ID="TabPanel4" runat="server" HeaderText="TabPanel3"><HeaderTemplate><asp:Label ID="Label22" runat="server" Text="Personal" SkinID="labelTituloTAB" ></asp:Label></HeaderTemplate></asp:TabPanel>
                    <asp:TabPanel ID="TabPanel5" runat="server" HeaderText="TabPanel3"><HeaderTemplate><asp:Label ID="Label23" runat="server" Text="Documentos Adjuntos" SkinID="labelTituloTAB" ></asp:Label></HeaderTemplate></asp:TabPanel>
                </asp:TabContainer>
                

                             <asp:Panel ID="Panel13" runat="server" height="5px"></asp:Panel>
                            <!-- Opciones de Evaluación -->
                            <asp:Label ID="Label38" runat="server" Text="Opciones de Evaluación"  SkinID="labelTituloPANEL" ></asp:Label>
                            <asp:Panel ID="Panel15" runat="server" SkinID="panelSkin">
                                <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
                                    <tr><td  style="height:5px" colspan="4"></td></tr>
                                    <tr>
                                        <td style="width:5px"></td>
                                        <td width="80px">
                                            <asp:Label ID="Label39" runat="server" Text="Opciones"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlOpcion" runat="server" Width="120px" 
                                                SkinID="DropDownListTextSkin"> </asp:DropDownList>
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr>
                                        <td ></td>
                                        <td >
                                            <asp:Label ID="Label40" runat="server" Text="Comentario"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtComentario" runat="server" TextMode="MultiLine" Width="700px" 
                                                SkinID="TextBoxAreaSkinText"></asp:TextBox>
                                        </td>
                                        <td></td>
                                    </tr>
                                    <tr><td  style="height:5px" colspan="4"></td></tr>
                                    <tr align="center"><td  colspan="4" align="center">
                                          <asp:ImageButton ID="imbAceptarWF" runat="server" 
                                                ImageUrl="~/imagenes/btn_aceptar1.png" 
                                                CausesValidation="False" onclick="imbAceptarWF_Click" />
                                    </td></tr>
                                    <tr><td  style="height:5px" colspan="4"></td></tr>
                                </table>                    
                            </asp:Panel>

            </td>
        </tr>
    </table>

    <table cellpadding="0" cellspacing="0", border="0" width="100%">
        <tr><td style="height:10px"></td></tr>
        <tr align="center" >
            <td align="center" style = "width:100%;"></td></tr>
        <tr align="center" ><td align="center" style = "width:100%;">
            <asp:Label ID="lblMsj" runat="server" SkinID="labelMsjSkin"></asp:Label>
            <asp:HiddenField ID="hdfNroReg" runat="server" />
            <asp:HiddenField ID="hdfEstado" runat="server" />
        </td></tr>
    </table>

    <table border = "0" cellpadding = "0" cellspacing = "0" style="width:100%">
        <tr>
            <td style="height:10px"><hr id="separador1" /></td>
        </tr>
        <tr>
            <td>
                &nbsp;<asp:ImageButton ID="imb_Cerrar" runat="server" 
                    ImageUrl="~/imagenes/btn_cerrar1.png" onclick="imb_Cerrar_Click" 
                    ToolTip="Cerrar Legajo" />
            </td>
        </tr>
    </table>

</div>

    </ContentTemplate>
</asp:UpdatePanel>

<!-- ConfirmMsjGuardar -->
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <asp:Panel ID="msgMain2" runat="server" style="display:none; border-style:solid; border-color:Green; background-color:White; padding:15px;" Width="300px"  >
            <div style="text-align:center; ">
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr><td style="height:15px"></td></tr>
                    <tr>
                        <td style="width:50px; text-align:center;">
                            <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/imagenes/btn_question.png" />
                        </td>                                            
                        <td>
                            <asp:Label ID="lblMsjConfirm2" runat="server" Text="¿Seguro de proceder y guardar el resultado de la evaluación del documento?" 
                                ForeColor="Black" /><br />
                        </td>
                    </tr>
                    <tr><td  style="height:20px"></td></tr>
                    <tr>
                        <td colspan="2">
                            <asp:ImageButton ID="imbOK2" runat="server"  OnClick="imbOK2_Click" ImageUrl="~/imagenes/btn_msjaceptar.png" />&nbsp;&nbsp;
                            <asp:ImageButton ID="imbCancel2" runat="server" ImageUrl="~/imagenes/btn_msjcancelar.png" />
                        </td>
                    </tr>
                    <tr>
                        <td  style="height:15px"></td>
                    </tr>
                </table>
            </div>
        </asp:Panel>
        <asp:HiddenField ID="hdfModalConfirm" runat="server"  />
        <asp:ModalPopupExtender ID="modalPopupGuardar" runat="server" PopupControlID="msgMain2" 
                                TargetControlID="hdfModalConfirm" 
                                CancelControlID="imbCancel2" 
                                BackgroundCssClass="backgroundPopup" 
        DynamicServicePath="" Enabled="True">
        </asp:ModalPopupExtender>
    </ContentTemplate>
</asp:UpdatePanel>

</asp:Content>

